package com.gtx.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {"com.gtx"})
@MapperScan("com.gtx.common.dao")
@SpringBootApplication
public class GtxAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(GtxAdminApplication.class, args);
        System.out.println("Admin Sucess");
    }

}
